.TH "MP4" "3" "Version 0.9" "Cisco Systems Inc." "MP4 File Format Library"
.SH "NAME"
.LP 
\fBMP4SetTimeScale\fR \- Set the time scale of the movie (file)
.SH "SYNTAX"
.LP 
#include <mp4.h>
.LP 
bool \fBMP4SetTimeScale\fR(
.br 
	MP4FileHandle \fIhFile\fP,
.br 
	u_int32_t timeScale
.br 
)
.SH "ARGUMENTS"
.LP 
.TP 
\fIhFile\fP
Specifies the mp4 file to which the operation applies.
.TP 
\fItimeScale\fP
Specifies the desired time scale for the movie.
.SH "RETURN VALUES"
.LP 
Upon success, true (1). Upon an error, false (0).
.SH "DESCRIPTION"
.LP 
\fBMP4SetTimeScale\fR sets the time scale of the mp4 file. The time scale is in the number of clock ticks per second. Caveat: tracks may use the same time scale as the movie or may use their own time scale.
.SH "SEE ALSO"
.LP 
MP4(3) MP4GetTimeScale(3) MP4SetTrackTimeScale(3)
